// 这里是后台首页的路由表
import lazyLoad from "@/hooks/lazyLoad";
import React from "react";
import Layout from "@/layout/layout";

const Index = [
  {
    element:<Layout/>, // 加载首页布局组件的
    children:[
      {
        path: '/sys/index', // 自定义路由路径
        element:lazyLoad(React.lazy(()=>import('@/views/index/index'))),
      }
    ]
  }
 
]


export default Index;